package subject.homework.zoosystrem.father;

public class User {

    //用户名
    private String userName;
    //密码
    private String userPass;
    //用户类型
    private String userType;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }



    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }



    //用户登录
    public boolean userLogin() {
        return true;
    }

    //用户登出
    public boolean userLogout() {
        return true;
    }

    public boolean isUserStudent(){
        return true;
    }
    public boolean  isUserTeacher(){
        return true;
    }
    public boolean isUserAdmin(){
        return true;
    }
}
